$pointer: pointer;
.menuBar {
  width: 240px;
  height: 100%;
  min-width: 240px;
  min-height: 560PX;
  background: rgba(207, 207, 207, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  box-sizing: content-box;
  // padding: 8px 0;
}

.mainMenu {
  margin-bottom: 8px;
}

.menuTitle {
  cursor: $pointer;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 16px;
  color: rgb(255, 255, 255);
}

.subMenu {
  // margin-left: 0px;
}

.menuItem {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: $pointer;
  padding: 8px 16px;
  line-height: 20px;
  transition: all 0.2s ease;

  .icon {
    transform: translateY(-2px);
  }
}

.menuItem .text {
  font-size: 14px;
  color: rgb(224, 220, 224);
}

.menuItem:hover {
  background-color: rgba(49, 100, 229, 0.1);
}

:global(.is-active) {
  background-color: rgba(49, 100, 229, 0.2);
  border-right: 2px rgba(52, 114, 255, 1) solid;
}

.menuItem:global(.is-active) .text {
  color: #fff;
}